<template>
  <div id="app">   
    <router-view />
    <van-tabbar route>
      <van-tabbar-item replace to="/home" icon="home-o">
        首页
      </van-tabbar-item>
      <van-tabbar-item replace to="/Category" icon="comment-o">
        分类
      </van-tabbar-item>
      <van-tabbar-item replace to="/shopcart" icon="shopping-cart-o">
        购物车
      </van-tabbar-item>
        <van-tabbar-item replace to="/ucenter" icon="search">
        我的
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
